package com.itlong.cloud.enumerate;

/**
 * <desc>
 *      消息队列表枚举状态对应表：time_task_dead_message_queue。
 * </desc>
 *
 * @createDate 2017/11/17
 */
public enum MessageQueueStatus {
    NOT_CONSUMER("未消费", 0),
    SUCCESS("消费成功", 1),
    ;
    private String description;
    private Integer type;

    MessageQueueStatus(){}

    MessageQueueStatus(String description, Integer type) {
        this.type = type;
        this.description = description;
    }
    public String getDescription() {
        return description;
    }

    public Integer getType() {
        return type;
    }
}
